<template>
  <div class="loader-container">
    <div class="loader"></div>
  </div>
</template>
<style lang='scss' scoped>
.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.loader {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 6px solid rgb(var(--primary-6));
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
</style>